// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/index'
// import myCharts from './assets/js/myChrts.js'
// Vue.use(myCharts)
// 引入echarts
// import echarts from 'echarts'
// Vue.prototype.$echarts = echarts
import {
  PasswordInput,
  NumberKeyboard ,
  Cell,
  CellGroup,
  Icon,
  Popup,
  Uploader,
  DatetimePicker,
  Toast,
  Button,
  Dialog,
  Field,
  Picker,
  Loading,
  List,
  Swipe, SwipeItem,
  Tab, Tabs,
  Tabbar, TabbarItem,
  Search ,Grid,GridItem,NoticeBar ,
  Lazyload ,Sticky ,
  Switch,TreeSelect,
  DropdownMenu, DropdownItem,Row, Col ,Image ,Collapse,CollapseItem ,NavBar 
} from 'vant';
  

Vue.use(Grid).use(GridItem).use(NoticeBar).use(NavBar);
Vue.use(Cell).use(CellGroup).use(PasswordInput).use(NumberKeyboard);
Vue.use(Icon);
Vue.use(Popup);
Vue.use(DatetimePicker);
Vue.use(Uploader);
Vue.use(Button);
Vue.use(Toast);
Vue.use(Dialog);
Vue.use(Field);
Vue.use(Picker).use(Collapse).use(CollapseItem);
Vue.use(Loading).use(Search).use(Sticky);
Vue.use(List).use(Swipe).use(SwipeItem).use(Tab).use(Tabs).use(Tabbar).use(TabbarItem).use(Lazyload);
Vue.use(Switch).use(DropdownMenu).use(DropdownItem).use(Row).use(Col).use(TreeSelect).use(Image );
// import $ from './assets/js/jquery-vendor'
import './assets/js/reset'
import './assets/css/reset.css'
import './assets/css/border.css'
Vue.config.productionTip = false
// 添加手机复制--begin
import VueClipboard from 'vue-clipboard2'
VueClipboard.config.autoSetContainer = true // add this line
Vue.use(VueClipboard)
import FastClick from 'fastclick'
FastClick.attach(document.body);
// 添加手机复制--end
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: {
    App
  },
  template: '<App/>'
})
